package com.sinosoft.zyemr.dao;

import com.sinosoft.zyemr.entity.PatientCaseEntity;
import com.sinosoft.zyemr.entity.PatientCaseEntityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatientCaseEntityMapper {
    int countByExample(PatientCaseEntityExample example);

    int deleteByExample(PatientCaseEntityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PatientCaseEntity record);

    int insertSelective(PatientCaseEntity record);

    List<PatientCaseEntity> selectByExample(PatientCaseEntityExample example);

    PatientCaseEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PatientCaseEntity record, @Param("example") PatientCaseEntityExample example);

    int updateByExample(@Param("record") PatientCaseEntity record, @Param("example") PatientCaseEntityExample example);

    int updateByPrimaryKeySelective(PatientCaseEntity record);

    int updateByPrimaryKey(PatientCaseEntity record);
}